Warning: package 'ggplot2' was built under R version 4.3.3
library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
library(tidyr)library(lubridate)
Attaching package: 'lubridate'
The following objects are masked from 'package:base':
date, intersect, setdiff, union
library(stringr)library(emojifont)
Warning: package 'emojifont' was built under R version 4.3.3
library(ggtext)
Warning: package 'ggtext' was built under R version 4.3.3
library(leaflet)library(sf)
Linking to GEOS 3.11.2, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
library(readr)library(jsonlite)
airbnb_data <-read_csv("airbnb_data.csv")
Rows: 225 Columns: 50
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (16): Name, Title, Listing URL, Price, Qualifier, Can Instant Book, Orig...
dbl (10): Id, Beds, Baths, Bedrooms, Average Rating, Number of Reviews, Clea...
lgl (24): City, Cleaning Fee, Airbnb Service Fee, Total Charged for Stay, Ea...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 241846 Columns: 38
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (26): Created Date, Closed Date, Agency, Agency Name, Complaint Type, De...
dbl (5): Unique Key, X Coordinate (State Plane), Y Coordinate (State Plane)...
lgl (7): Vehicle Type, Taxi Company Borough, Taxi Pick Up Location, Bridge ...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
parks <-read_csv("Parks_Properties_20240507.csv")
Rows: 2047 Columns: 35
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (20): ADDRESS, BOROUGH, CLASS, DEPARTMENT, EAPPLY, GISPROPNUM, GlobalID...
dbl (10): ACRES, COMMUNITYBOARD, COUNCILDISTRICT, GISOBJID, NYS_ASSEMBLY, N...
lgl (4): PERMIT, PIP_RATABLE, RETIRED, WATERFRONT
dttm (1): ACQUISITIONDATE
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.